// src/mixins/logoutMixin.js
export default {
  methods: {
    logout() {
      this.$store.commit('setLoggedIn', false);
      localStorage.removeItem('isLoggedIn');
      this.$router.push('/logIn');
    }
  }
}